import {DocConfig,LastDocConfig} from './define';

export default [
	{
		name:'组件',
		icon:'widgets',
		value:'components',
		children:[
			{
				name:'基础功能组件',
				value:'base',
				children:[
					{name:'组件缓存',value:'my-keep-alive'},
					{name:'标签面板',value:'tab-panels'},
				]
			},
			{
				name:'按钮',
				value:'button',
				children:[
					{name:'按钮',value:'button'},
					{name:'按钮组',value:'button-group'},
				]
			},
			{
				name:'表单控件',
				value:'form',
				children:[
					{name:'输入框',value:'input'},
					{name:'数字输入框',value:'number-input'},
					{name:'文本域',value:'textarea'},
					{name:'单选框',value:'radio'},
					{name:'复选框',value:'checkbox'},
					{name:'开关',value:'toggle'},
					{name:'选择器',value:'select'},
					{name:'树选择器',value:'tree-select'},
					{name:'日期选择器',value:'date-picker'},
				]
			},
			{name:'树',value:'tree'},
			{name:'表格',value:'table'},
			{name:'分页',value:'pagination'},
			{name:'轻提示',value:'notice'},
			{name:'高德地图',value:'amap'},
			{name:'滚动条',value:'both-scroll-area'},
			{name:'箭头滚动',value:'arrow-scroll'},
			{name:'显示代码',value:'code'},
			{name:'菜单',value:'menu'},
			{name:'弹窗',value:'modal'},
			{name:'选择区域',value:'select-area'},
			{name:'加载图标',value:'spinner'},
			{name:'文字省略',value:'text-ellipsis'},
			{name:'气泡提示',value:'tippy'},
			{name:'表单校验',value:'validation-provider'},
			{
				name:'业务组件',
				value:'business',
				children:[
					{name:'选人组件',value:'choose-member'},
				]
			}
		]
	},{
		name:'指令',
		icon:'swap_calls',
		value:'directive',
		children:[
		]
	},{
		name:'工具',
		icon:'healing',
		value:'util',
		children:[
			{name:'通用',value:'common',common:true},
			{name:'格式化',value:'format',common:true},
			{name:'storage缓存',value:'storage',common:true},
			{name:'vuex工具',value:'vuex',common:true},
			{name:'pc端特有',value:'pc'},
			{name:'线程池',value:'worker',common:true},
			{name:'测试页面',value:'test',common:true},
		]
	},
] as Array<DocConfig|LastDocConfig>;
